my_string = "Yaho"
try:
    next(my_string)
except:
    print("string is not a generator")

my_iter = iter(my_string)
for i in range(len(my_string)):
    print(dir(my_string))